package cn.com.qtgl.apis.builtin.model.vo.app_preference;

import cn.melonlib.cores.commons.model.entity.ApiEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;

import java.util.List;

@Data
@ModelComment("应用设置项")
public class PreferenceItem implements ApiEntity {

    @ModelComment("名称")
    private String name ;
    @ModelComment("说明")
    private String text ;
    @ModelComment("类型")
    private String type ;
    @ModelComment("字符串值")
    private String valueString ;
    @ModelComment("整数数值")
    private Integer valueInt;

    @ModelComment("浮点数值")
    private Double valueFloat ;

    @ModelComment("布尔值")
    private Boolean valueBoolean ;

    @ModelComment("字符串列表")
    private List<String> valueStrings;

    @ModelComment("是否多租")
    private Boolean multiTenancy ;
}
